package ru.slovoslovo.cropmotion.ui.filetree;

import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;

public class TreeLabelProvider extends LabelProvider {
    public String getText(Object element) {
        return ((FileTreeNode) element).getName();
    }

    public Image getImage(Object element) {
        return ((FileTreeNode) element).getImage();
    }
}
